

package com.eshop.we.business;

import com.baomidou.mybatisplus.plugins.Page;
import com.eshop.we.user.dto.UserBooksDto;
import com.eshop.we.user.dto.UserInfoDto;
import com.eshop.we.user.entity.User;

/**
 * @author wangzhanguo
 * @create 2018-06-05 9:03
 **/
public interface UserBusiness extends BaseBusiness<User> {

       UserBooksDto selectUserBooks(Integer userId);

      Integer  updateByOpenId(User user);

      Page selectUserPage(Page<UserInfoDto> page,String name,String mobile,String schoolName,String startDate,String endDate)throws Exception;


      UserInfoDto getUserInfo(Integer userId);
}
